<%@ page import="fiszkas.Fiszka" %>



<div class="fieldcontain ${hasErrors(bean: fiszkaInstance, field: 'box', 'error')} required">
	<label for="box">
		<g:message code="fiszka.box.label" default="Box" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="box" type="number" value="${fiszkaInstance.box}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: fiszkaInstance, field: 'english', 'error')} ">
	<label for="english">
		<g:message code="fiszka.english.label" default="English" />
		
	</label>
	<g:textField name="english" value="${fiszkaInstance?.english}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: fiszkaInstance, field: 'fails', 'error')} required">
	<label for="fails">
		<g:message code="fiszka.fails.label" default="Fails" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="fails" type="number" value="${fiszkaInstance.fails}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: fiszkaInstance, field: 'lastPracticed', 'error')} required">
	<label for="lastPracticed">
		<g:message code="fiszka.lastPracticed.label" default="Last Practiced" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="lastPracticed" precision="day"  value="${fiszkaInstance?.lastPracticed}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: fiszkaInstance, field: 'polish', 'error')} ">
	<label for="polish">
		<g:message code="fiszka.polish.label" default="Polish" />
		
	</label>
	<g:textField name="polish" value="${fiszkaInstance?.polish}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: fiszkaInstance, field: 'succs', 'error')} required">
	<label for="succs">
		<g:message code="fiszka.succs.label" default="Succs" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="succs" type="number" value="${fiszkaInstance.succs}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: fiszkaInstance, field: 'synonims', 'error')} required">
	<label for="synonims">
		<g:message code="fiszka.synonims.label" default="Synonims" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="synonims" type="number" value="${fiszkaInstance.synonims}" required=""/>
</div>

